(function (obj) {
    function Storage(){
        this.length=function () {
            return localStorage.length
        };
        this.getAppData=function(key) {
            return localStorage.getItem(key);
        };
        this.setAppData=function(key,val) {
            localStorage.setItem(key,val);
        };
        this.removeAppData=function(key) {
            localStorage.removeItem(key);
        };
        this.clearAppData=function() {
            localStorage.clear();
        }
    }
    let storage=new Storage();
    window.$AppMap=storage;
})(this);
